<template>
	<view class="content">
		<image class="logo" src="/static/logo.png"></image>
		<up-alert :title="title" type="warning" :description="description"></up-alert>
		<up-alert :title="title" type="warning" effect="dark" :description="description"></up-alert>
	</view>
</template>

<script setup>
	import {
		ref,
		reactive,
		getCurrentInstance
	} from 'vue'
	const {
		proxy
	} = getCurrentInstance();
	proxy.$post('/index').then(res => {}).catch(err => {})
	// 响应式数据  
	const title = ref('uview-plus的目标是成为uni-app生态最优秀的UI框架');
	const description = ref('uview-plus是uni-app生态专用的UI框架');
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>